<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: src/libslic3r/SVG.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_f69e6fbaea45487e96bc9ed8ccf9ff8f.html">libslic3r</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">SVG.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_s_v_g_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef slic3r_SVG_hpp_</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define slic3r_SVG_hpp_</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="libslic3r_8h.html">libslic3r.h</a>&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;clipper.hpp&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_ex_polygon_8hpp.html">ExPolygon.hpp</a>&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_line_8hpp.html">Line.hpp</a>&quot;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_triangle_mesh_8hpp.html">TriangleMesh.hpp</a>&quot;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_surface_8hpp.html">Surface.hpp</a>&quot;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_slic3r.html">Slic3r</a> {</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_s_v_g.html">   13</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_slic3r_1_1_s_v_g.html">SVG</a></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;{</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_s_v_g.html#af3ec2eb54bdc7dff2381f15c5771d364">   16</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#af3ec2eb54bdc7dff2381f15c5771d364">arrows</a>;</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_s_v_g.html#a2cfc3f867742d2d56624e7dbe19e2f81">   17</a></span>&#160;    std::string <a class="code" href="class_slic3r_1_1_s_v_g.html#a0c9f7e2cd1d78f5ba103de9e53cab953">fill</a>, <a class="code" href="class_slic3r_1_1_s_v_g.html#a2cfc3f867742d2d56624e7dbe19e2f81">stroke</a>;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_s_v_g.html#ad0e86c11f29bf1186160f5a8f2bf24cc">   18</a></span>&#160;    <a class="code" href="class_slic3r_1_1_point.html">Point</a> <a class="code" href="class_slic3r_1_1_s_v_g.html#ad0e86c11f29bf1186160f5a8f2bf24cc">origin</a>;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_s_v_g.html#a48fb2d536643b7ac8406a1ce12374de3">   19</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a48fb2d536643b7ac8406a1ce12374de3">flipY</a>;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_s_v_g.html#a5befc219aa473bdb731b31858ee7162d">   21</a></span>&#160;    <a class="code" href="class_slic3r_1_1_s_v_g.html#a5befc219aa473bdb731b31858ee7162d">SVG</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* afilename) :</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;        arrows(false), fill(<span class="stringliteral">&quot;grey&quot;</span>), stroke(<span class="stringliteral">&quot;black&quot;</span>), filename(afilename), flipY(false)</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;        { <a class="code" href="class_slic3r_1_1_s_v_g.html#a5b0301fa737a9a09ed3b2eb8392c671a">open</a>(filename); }</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_s_v_g.html#aed85adcade1827745840e1228fdb982f">   24</a></span>&#160;    <a class="code" href="class_slic3r_1_1_s_v_g.html#aed85adcade1827745840e1228fdb982f">SVG</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* afilename, <span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_bounding_box.html">BoundingBox</a> &amp;bbox, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> bbox_offset = <a class="code" href="namespace_slic3r.html#a9a0d9b5718fd26081d3fc9f143f2b246">scale_</a>(1.), <span class="keywordtype">bool</span> aflipY = <span class="keyword">false</span>) : </div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;        arrows(false), fill(<span class="stringliteral">&quot;grey&quot;</span>), stroke(<span class="stringliteral">&quot;black&quot;</span>), filename(afilename), origin(bbox.min - <a class="code" href="class_slic3r_1_1_point.html">Point</a>(bbox_offset, bbox_offset)), flipY(aflipY)</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;        { <a class="code" href="class_slic3r_1_1_s_v_g.html#a5b0301fa737a9a09ed3b2eb8392c671a">open</a>(filename, bbox, bbox_offset, aflipY); }</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_s_v_g.html#a91f177707037cbdac0a1306b2f5bd14f">   27</a></span>&#160;    <a class="code" href="class_slic3r_1_1_s_v_g.html#a91f177707037cbdac0a1306b2f5bd14f">SVG</a>(<span class="keyword">const</span> std::string &amp;filename) :</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;        arrows(false), fill(<span class="stringliteral">&quot;grey&quot;</span>), stroke(<span class="stringliteral">&quot;black&quot;</span>), filename(filename), flipY(false)</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;        { <a class="code" href="class_slic3r_1_1_s_v_g.html#a5b0301fa737a9a09ed3b2eb8392c671a">open</a>(filename); }</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_s_v_g.html#a6e77744137abaeefdb3039aa4843d422">   30</a></span>&#160;    <a class="code" href="class_slic3r_1_1_s_v_g.html#a6e77744137abaeefdb3039aa4843d422">SVG</a>(<span class="keyword">const</span> std::string &amp;filename, <span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_bounding_box.html">BoundingBox</a> &amp;bbox, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> bbox_offset = <a class="code" href="namespace_slic3r.html#a9a0d9b5718fd26081d3fc9f143f2b246">scale_</a>(1.), <span class="keywordtype">bool</span> aflipY = <span class="keyword">false</span>) : </div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;        arrows(false), fill(<span class="stringliteral">&quot;grey&quot;</span>), stroke(<span class="stringliteral">&quot;black&quot;</span>), filename(filename), origin(bbox.min - <a class="code" href="class_slic3r_1_1_point.html">Point</a>(bbox_offset, bbox_offset)), flipY(aflipY)</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;        { <a class="code" href="class_slic3r_1_1_s_v_g.html#a5b0301fa737a9a09ed3b2eb8392c671a">open</a>(filename, bbox, bbox_offset, aflipY); }</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_s_v_g.html#a3b2a82b656be47678c321afc68e61465">   33</a></span>&#160;    <a class="code" href="class_slic3r_1_1_s_v_g.html#a3b2a82b656be47678c321afc68e61465">~SVG</a>() { <span class="keywordflow">if</span> (f != NULL) <a class="code" href="class_slic3r_1_1_s_v_g.html#aaa8469db0a1362ee2ca8b56dfbb5d9c8">Close</a>(); }</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a5b0301fa737a9a09ed3b2eb8392c671a">open</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename);</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a5b0301fa737a9a09ed3b2eb8392c671a">open</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename, <span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_bounding_box.html">BoundingBox</a> &amp;bbox, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> bbox_offset = <a class="code" href="namespace_slic3r.html#a9a0d9b5718fd26081d3fc9f143f2b246">scale_</a>(1.), <span class="keywordtype">bool</span> flipY = <span class="keyword">false</span>);</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_s_v_g.html#accbd09fd5fc6d0cc40fc3baaabe0baea">   37</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#accbd09fd5fc6d0cc40fc3baaabe0baea">open</a>(<span class="keyword">const</span> std::string &amp;filename) </div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        { <span class="keywordflow">return</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a5b0301fa737a9a09ed3b2eb8392c671a">open</a>(filename.c_str()); }</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_s_v_g.html#a50965d3d81ab2dc459f4fc4071a57879">   39</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a50965d3d81ab2dc459f4fc4071a57879">open</a>(<span class="keyword">const</span> std::string &amp;filename, <span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_bounding_box.html">BoundingBox</a> &amp;bbox, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> bbox_offset = <a class="code" href="namespace_slic3r.html#a9a0d9b5718fd26081d3fc9f143f2b246">scale_</a>(1.), <span class="keywordtype">bool</span> flipY = <span class="keyword">false</span>)</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        { <span class="keywordflow">return</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a5b0301fa737a9a09ed3b2eb8392c671a">open</a>(filename.c_str(), bbox, bbox_offset, <a class="code" href="class_slic3r_1_1_s_v_g.html#a48fb2d536643b7ac8406a1ce12374de3">flipY</a>); }</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_line.html">Line</a> &amp;line, std::string stroke = <span class="stringliteral">&quot;black&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_thick_line.html">ThickLine</a> &amp;line, <span class="keyword">const</span> std::string &amp;fill, <span class="keyword">const</span> std::string &amp;stroke, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a0913e2e6b7d28032c33cfee03f145fba">Lines</a> &amp;lines, std::string stroke = <span class="stringliteral">&quot;black&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac7ccb74e316abd7606034f0b2179b92f">IntersectionLines</a> &amp;lines, std::string stroke = <span class="stringliteral">&quot;black&quot;</span>);</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_ex_polygon.html">ExPolygon</a> &amp;expolygon, std::string fill = <span class="stringliteral">&quot;grey&quot;</span>, <span class="keyword">const</span> <span class="keywordtype">float</span> fill_opacity=1.f);</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#ab8aabe32cf369085191a074c1052ca54">draw_outline</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_ex_polygon.html">ExPolygon</a> &amp;polygon, std::string stroke_outer = <span class="stringliteral">&quot;black&quot;</span>, std::string stroke_holes = <span class="stringliteral">&quot;blue&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">ExPolygons</a> &amp;expolygons, std::string fill = <span class="stringliteral">&quot;grey&quot;</span>, <span class="keyword">const</span> <span class="keywordtype">float</span> fill_opacity=1.f);</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#ab8aabe32cf369085191a074c1052ca54">draw_outline</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">ExPolygons</a> &amp;polygons, std::string stroke_outer = <span class="stringliteral">&quot;black&quot;</span>, std::string stroke_holes = <span class="stringliteral">&quot;blue&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_surface.html">Surface</a> &amp;surface, std::string fill = <span class="stringliteral">&quot;grey&quot;</span>, <span class="keyword">const</span> <span class="keywordtype">float</span> fill_opacity=1.f);</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#ab8aabe32cf369085191a074c1052ca54">draw_outline</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_surface.html">Surface</a> &amp;surface, std::string stroke_outer = <span class="stringliteral">&quot;black&quot;</span>, std::string stroke_holes = <span class="stringliteral">&quot;blue&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a974dd7a4e3e39746ab1e4197e1aa54b0">Surfaces</a> &amp;surfaces, std::string fill = <span class="stringliteral">&quot;grey&quot;</span>, <span class="keyword">const</span> <span class="keywordtype">float</span> fill_opacity=1.f);</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#ab8aabe32cf369085191a074c1052ca54">draw_outline</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a974dd7a4e3e39746ab1e4197e1aa54b0">Surfaces</a> &amp;surfaces, std::string stroke_outer = <span class="stringliteral">&quot;black&quot;</span>, std::string stroke_holes = <span class="stringliteral">&quot;blue&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a07ec75e65c5a526deed75bc28a762789">SurfacesPtr</a> &amp;surfaces, std::string fill = <span class="stringliteral">&quot;grey&quot;</span>, <span class="keyword">const</span> <span class="keywordtype">float</span> fill_opacity=1.f);</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#ab8aabe32cf369085191a074c1052ca54">draw_outline</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a07ec75e65c5a526deed75bc28a762789">SurfacesPtr</a> &amp;surfaces, std::string stroke_outer = <span class="stringliteral">&quot;black&quot;</span>, std::string stroke_holes = <span class="stringliteral">&quot;blue&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; </div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_polygon.html">Polygon</a> &amp;polygon, std::string fill = <span class="stringliteral">&quot;grey&quot;</span>);</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#ab8aabe32cf369085191a074c1052ca54">draw_outline</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_polygon.html">Polygon</a> &amp;polygon, std::string stroke = <span class="stringliteral">&quot;black&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Polygons</a> &amp;polygons, std::string fill = <span class="stringliteral">&quot;grey&quot;</span>);</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#ab8aabe32cf369085191a074c1052ca54">draw_outline</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Polygons</a> &amp;polygons, std::string stroke = <span class="stringliteral">&quot;black&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_polyline.html">Polyline</a> &amp;polyline, std::string stroke = <span class="stringliteral">&quot;black&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Polylines</a> &amp;polylines, std::string stroke = <span class="stringliteral">&quot;black&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9ba4bcd2efc19fa126e7cc6446a13fb5">ThickLines</a> &amp;thicklines, <span class="keyword">const</span> std::string &amp;fill = <span class="stringliteral">&quot;lime&quot;</span>, <span class="keyword">const</span> std::string &amp;stroke = <span class="stringliteral">&quot;black&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ae215fce7feff06e36add3d6f37bfcd27">ThickPolylines</a> &amp;polylines, <span class="keyword">const</span> std::string &amp;stroke = <span class="stringliteral">&quot;black&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ae215fce7feff06e36add3d6f37bfcd27">ThickPolylines</a> &amp;thickpolylines, <span class="keyword">const</span> std::string &amp;fill, <span class="keyword">const</span> std::string &amp;stroke, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width);</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_point.html">Point</a> &amp;point, std::string fill = <span class="stringliteral">&quot;black&quot;</span>, <a class="code" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> radius = 0);</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;points, std::string fill = <span class="stringliteral">&quot;black&quot;</span>, <a class="code" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> radius = 0);</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="comment">// Support for rendering the ClipperLib paths</span></div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> ClipperLib::Path  &amp;polygon, <span class="keywordtype">double</span> scale, std::string fill = <span class="stringliteral">&quot;grey&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">draw</a>(<span class="keyword">const</span> ClipperLib::Paths &amp;polygons, <span class="keywordtype">double</span> scale, std::string fill = <span class="stringliteral">&quot;grey&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a2a03869d48a932d5a5ccb977023ce58e">draw_text</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_point.html">Point</a> &amp;pt, <span class="keyword">const</span> <span class="keywordtype">char</span> *text, <span class="keyword">const</span> <span class="keywordtype">char</span> *color);</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#ab87767cd32af0ee0ba6cab763e42bbc4">draw_legend</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_point.html">Point</a> &amp;pt, <span class="keyword">const</span> <span class="keywordtype">char</span> *text, <span class="keyword">const</span> <span class="keywordtype">char</span> *color);</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#aaa8469db0a1362ee2ca8b56dfbb5d9c8">Close</a>();</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    </div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="keyword">private</span>:</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    std::string filename;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    FILE* f;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    </div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordtype">void</span> path(<span class="keyword">const</span> std::string &amp;d, <span class="keywordtype">bool</span> fill, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width, <span class="keyword">const</span> <span class="keywordtype">float</span> fill_opacity);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    std::string get_path_d(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_multi_point.html">MultiPoint</a> &amp;mp, <span class="keywordtype">bool</span> closed = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    std::string get_path_d(<span class="keyword">const</span> ClipperLib::Path &amp;mp, <span class="keywordtype">double</span> scale, <span class="keywordtype">bool</span> closed = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a2fbe0063ae23696aefaf04bda21dd044">export_expolygons</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *path, <span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_bounding_box.html">BoundingBox</a> &amp;bbox, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> &amp;expolygons, std::string stroke_outer = <span class="stringliteral">&quot;black&quot;</span>, std::string stroke_holes = <span class="stringliteral">&quot;blue&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0);</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_s_v_g.html#a15231b150f4546c9b3f3b5a53e685dc8">   90</a></span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_s_v_g.html#a15231b150f4546c9b3f3b5a53e685dc8">export_expolygons</a>(<span class="keyword">const</span> std::string &amp;path, <span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_bounding_box.html">BoundingBox</a> &amp;bbox, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> &amp;expolygons, std::string stroke_outer = <span class="stringliteral">&quot;black&quot;</span>, std::string stroke_holes = <span class="stringliteral">&quot;blue&quot;</span>, <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> stroke_width = 0) </div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        { <a class="code" href="class_slic3r_1_1_s_v_g.html#a2fbe0063ae23696aefaf04bda21dd044">export_expolygons</a>(path.c_str(), bbox, expolygons, stroke_outer, stroke_holes, stroke_width); }</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;};</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;}</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="class_slic3r_1_1_bounding_box_html"><div class="ttname"><a href="class_slic3r_1_1_bounding_box.html">Slic3r::BoundingBox</a></div><div class="ttdef"><b>Definition:</b> BoundingBox.hpp:58</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_aaa8469db0a1362ee2ca8b56dfbb5d9c8"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#aaa8469db0a1362ee2ca8b56dfbb5d9c8">Slic3r::SVG::Close</a></div><div class="ttdeci">void Close()</div><div class="ttdef"><b>Definition:</b> SVG.cpp:332</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_a15231b150f4546c9b3f3b5a53e685dc8"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#a15231b150f4546c9b3f3b5a53e685dc8">Slic3r::SVG::export_expolygons</a></div><div class="ttdeci">static void export_expolygons(const std::string &amp;path, const BoundingBox &amp;bbox, const Slic3r::ExPolygons &amp;expolygons, std::string stroke_outer=&quot;black&quot;, std::string stroke_holes=&quot;blue&quot;, coordf_t stroke_width=0)</div><div class="ttdef"><b>Definition:</b> SVG.hpp:90</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_a91f177707037cbdac0a1306b2f5bd14f"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#a91f177707037cbdac0a1306b2f5bd14f">Slic3r::SVG::SVG</a></div><div class="ttdeci">SVG(const std::string &amp;filename)</div><div class="ttdef"><b>Definition:</b> SVG.hpp:27</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_ad0e86c11f29bf1186160f5a8f2bf24cc"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#ad0e86c11f29bf1186160f5a8f2bf24cc">Slic3r::SVG::origin</a></div><div class="ttdeci">Point origin</div><div class="ttdef"><b>Definition:</b> SVG.hpp:18</div></div>
<div class="ttc" id="class_slic3r_1_1_polyline_html"><div class="ttname"><a href="class_slic3r_1_1_polyline.html">Slic3r::Polyline</a></div><div class="ttdef"><b>Definition:</b> Polyline.hpp:18</div></div>
<div class="ttc" id="libslic3r_8h_html"><div class="ttname"><a href="libslic3r_8h.html">libslic3r.h</a></div></div>
<div class="ttc" id="namespace_slic3r_html_ab6d77625bc973b0c03e577944f90f297"><div class="ttname"><a href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">Slic3r::coord_t</a></div><div class="ttdeci">long coord_t</div><div class="ttdef"><b>Definition:</b> libslic3r.h:41</div></div>
<div class="ttc" id="namespace_slic3r_html_ac070ff2d90c6488a48adf1814cdae06c"><div class="ttname"><a href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a></div><div class="ttdeci">std::vector&lt; Polygon &gt; Polygons</div><div class="ttdef"><b>Definition:</b> Polygon.hpp:13</div></div>
<div class="ttc" id="class_slic3r_1_1_line_html"><div class="ttname"><a href="class_slic3r_1_1_line.html">Slic3r::Line</a></div><div class="ttdef"><b>Definition:</b> Line.hpp:16</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html">Slic3r::SVG</a></div><div class="ttdef"><b>Definition:</b> SVG.hpp:13</div></div>
<div class="ttc" id="namespace_slic3r_html_a9ba4bcd2efc19fa126e7cc6446a13fb5"><div class="ttname"><a href="namespace_slic3r.html#a9ba4bcd2efc19fa126e7cc6446a13fb5">Slic3r::ThickLines</a></div><div class="ttdeci">std::vector&lt; ThickLine &gt; ThickLines</div><div class="ttdef"><b>Definition:</b> Line.hpp:14</div></div>
<div class="ttc" id="namespace_slic3r_html_a47d04f71423ecef9ad36e18046f11c3c"><div class="ttname"><a href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Slic3r::Points</a></div><div class="ttdeci">std::vector&lt; Point &gt; Points</div><div class="ttdef"><b>Definition:</b> Point.hpp:21</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_a3b2a82b656be47678c321afc68e61465"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#a3b2a82b656be47678c321afc68e61465">Slic3r::SVG::~SVG</a></div><div class="ttdeci">~SVG()</div><div class="ttdef"><b>Definition:</b> SVG.hpp:33</div></div>
<div class="ttc" id="namespace_slic3r_html_a974dd7a4e3e39746ab1e4197e1aa54b0"><div class="ttname"><a href="namespace_slic3r.html#a974dd7a4e3e39746ab1e4197e1aa54b0">Slic3r::Surfaces</a></div><div class="ttdeci">std::vector&lt; Surface &gt; Surfaces</div><div class="ttdef"><b>Definition:</b> Surface.hpp:34</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_a5b0301fa737a9a09ed3b2eb8392c671a"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#a5b0301fa737a9a09ed3b2eb8392c671a">Slic3r::SVG::open</a></div><div class="ttdeci">bool open(const char *filename)</div><div class="ttdef"><b>Definition:</b> SVG.cpp:8</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_a2cfc3f867742d2d56624e7dbe19e2f81"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#a2cfc3f867742d2d56624e7dbe19e2f81">Slic3r::SVG::stroke</a></div><div class="ttdeci">std::string stroke</div><div class="ttdef"><b>Definition:</b> SVG.hpp:17</div></div>
<div class="ttc" id="namespace_slic3r_html_a9a0d9b5718fd26081d3fc9f143f2b246"><div class="ttname"><a href="namespace_slic3r.html#a9a0d9b5718fd26081d3fc9f143f2b246">Slic3r::scale_</a></div><div class="ttdeci">constexpr coord_t scale_(const coordf_t &amp;val)</div><div class="ttdef"><b>Definition:</b> libslic3r.h:48</div></div>
<div class="ttc" id="namespace_slic3r_html_ae215fce7feff06e36add3d6f37bfcd27"><div class="ttname"><a href="namespace_slic3r.html#ae215fce7feff06e36add3d6f37bfcd27">Slic3r::ThickPolylines</a></div><div class="ttdeci">std::vector&lt; ThickPolyline &gt; ThickPolylines</div><div class="ttdef"><b>Definition:</b> Polyline.hpp:16</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_a50965d3d81ab2dc459f4fc4071a57879"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#a50965d3d81ab2dc459f4fc4071a57879">Slic3r::SVG::open</a></div><div class="ttdeci">bool open(const std::string &amp;filename, const BoundingBox &amp;bbox, const coord_t bbox_offset=scale_(1.), bool flipY=false)</div><div class="ttdef"><b>Definition:</b> SVG.hpp:39</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_a5befc219aa473bdb731b31858ee7162d"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#a5befc219aa473bdb731b31858ee7162d">Slic3r::SVG::SVG</a></div><div class="ttdeci">SVG(const char *afilename)</div><div class="ttdef"><b>Definition:</b> SVG.hpp:21</div></div>
<div class="ttc" id="namespace_slic3r_html_a2ac5c755948c74f5f5f975acd5057fe9"><div class="ttname"><a href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">Slic3r::coordf_t</a></div><div class="ttdeci">double coordf_t</div><div class="ttdef"><b>Definition:</b> libslic3r.h:42</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_a8008d88fed50359e749596f777a37428"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#a8008d88fed50359e749596f777a37428">Slic3r::SVG::draw</a></div><div class="ttdeci">void draw(const Line &amp;line, std::string stroke=&quot;black&quot;, coordf_t stroke_width=0)</div><div class="ttdef"><b>Definition:</b> SVG.cpp:47</div></div>
<div class="ttc" id="namespace_slic3r_html_a0913e2e6b7d28032c33cfee03f145fba"><div class="ttname"><a href="namespace_slic3r.html#a0913e2e6b7d28032c33cfee03f145fba">Slic3r::Lines</a></div><div class="ttdeci">std::vector&lt; Line &gt; Lines</div><div class="ttdef"><b>Definition:</b> Line.hpp:12</div></div>
<div class="ttc" id="class_slic3r_1_1_point_html"><div class="ttname"><a href="class_slic3r_1_1_point.html">Slic3r::Point</a></div><div class="ttdef"><b>Definition:</b> Point.hpp:27</div></div>
<div class="ttc" id="namespace_slic3r_html"><div class="ttname"><a href="namespace_slic3r.html">Slic3r</a></div><div class="ttdef"><b>Definition:</b> BoundingBox.cpp:4</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_a2a03869d48a932d5a5ccb977023ce58e"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#a2a03869d48a932d5a5ccb977023ce58e">Slic3r::SVG::draw_text</a></div><div class="ttdeci">void draw_text(const Point &amp;pt, const char *text, const char *color)</div><div class="ttdef"><b>Definition:</b> SVG.cpp:308</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_ab87767cd32af0ee0ba6cab763e42bbc4"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#ab87767cd32af0ee0ba6cab763e42bbc4">Slic3r::SVG::draw_legend</a></div><div class="ttdeci">void draw_legend(const Point &amp;pt, const char *text, const char *color)</div><div class="ttdef"><b>Definition:</b> SVG.cpp:317</div></div>
<div class="ttc" id="class_slic3r_1_1_ex_polygon_html"><div class="ttname"><a href="class_slic3r_1_1_ex_polygon.html">Slic3r::ExPolygon</a></div><div class="ttdef"><b>Definition:</b> ExPolygon.hpp:16</div></div>
<div class="ttc" id="_line_8hpp_html"><div class="ttname"><a href="_line_8hpp.html">Line.hpp</a></div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_a0c9f7e2cd1d78f5ba103de9e53cab953"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#a0c9f7e2cd1d78f5ba103de9e53cab953">Slic3r::SVG::fill</a></div><div class="ttdeci">std::string fill</div><div class="ttdef"><b>Definition:</b> SVG.hpp:17</div></div>
<div class="ttc" id="namespace_slic3r_html_a498065f79ccb865fc410d4afeacffc9c"><div class="ttname"><a href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Slic3r::Polylines</a></div><div class="ttdeci">std::vector&lt; Polyline &gt; Polylines</div><div class="ttdef"><b>Definition:</b> Polyline.hpp:14</div></div>
<div class="ttc" id="namespace_slic3r_html_a07ec75e65c5a526deed75bc28a762789"><div class="ttname"><a href="namespace_slic3r.html#a07ec75e65c5a526deed75bc28a762789">Slic3r::SurfacesPtr</a></div><div class="ttdeci">std::vector&lt; Surface * &gt; SurfacesPtr</div><div class="ttdef"><b>Definition:</b> Surface.hpp:35</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_aed85adcade1827745840e1228fdb982f"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#aed85adcade1827745840e1228fdb982f">Slic3r::SVG::SVG</a></div><div class="ttdeci">SVG(const char *afilename, const BoundingBox &amp;bbox, const coord_t bbox_offset=scale_(1.), bool aflipY=false)</div><div class="ttdef"><b>Definition:</b> SVG.hpp:24</div></div>
<div class="ttc" id="class_slic3r_1_1_thick_line_html"><div class="ttname"><a href="class_slic3r_1_1_thick_line.html">Slic3r::ThickLine</a></div><div class="ttdef"><b>Definition:</b> Line.hpp:50</div></div>
<div class="ttc" id="class_slic3r_1_1_polygon_html"><div class="ttname"><a href="class_slic3r_1_1_polygon.html">Slic3r::Polygon</a></div><div class="ttdef"><b>Definition:</b> Polygon.hpp:16</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_a48fb2d536643b7ac8406a1ce12374de3"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#a48fb2d536643b7ac8406a1ce12374de3">Slic3r::SVG::flipY</a></div><div class="ttdeci">bool flipY</div><div class="ttdef"><b>Definition:</b> SVG.hpp:19</div></div>
<div class="ttc" id="_surface_8hpp_html"><div class="ttname"><a href="_surface_8hpp.html">Surface.hpp</a></div></div>
<div class="ttc" id="_triangle_mesh_8hpp_html"><div class="ttname"><a href="_triangle_mesh_8hpp.html">TriangleMesh.hpp</a></div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_ab8aabe32cf369085191a074c1052ca54"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#ab8aabe32cf369085191a074c1052ca54">Slic3r::SVG::draw_outline</a></div><div class="ttdeci">void draw_outline(const ExPolygon &amp;polygon, std::string stroke_outer=&quot;black&quot;, std::string stroke_holes=&quot;blue&quot;, coordf_t stroke_width=0)</div><div class="ttdef"><b>Definition:</b> SVG.cpp:106</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_accbd09fd5fc6d0cc40fc3baaabe0baea"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#accbd09fd5fc6d0cc40fc3baaabe0baea">Slic3r::SVG::open</a></div><div class="ttdeci">bool open(const std::string &amp;filename)</div><div class="ttdef"><b>Definition:</b> SVG.hpp:37</div></div>
<div class="ttc" id="namespace_slic3r_html_a9306b728b4672f5e56abe05ba7437fe1"><div class="ttname"><a href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a></div><div class="ttdeci">std::vector&lt; ExPolygon &gt; ExPolygons</div><div class="ttdef"><b>Definition:</b> ExPolygon.hpp:13</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_a6e77744137abaeefdb3039aa4843d422"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#a6e77744137abaeefdb3039aa4843d422">Slic3r::SVG::SVG</a></div><div class="ttdeci">SVG(const std::string &amp;filename, const BoundingBox &amp;bbox, const coord_t bbox_offset=scale_(1.), bool aflipY=false)</div><div class="ttdef"><b>Definition:</b> SVG.hpp:30</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_a2fbe0063ae23696aefaf04bda21dd044"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#a2fbe0063ae23696aefaf04bda21dd044">Slic3r::SVG::export_expolygons</a></div><div class="ttdeci">static void export_expolygons(const char *path, const BoundingBox &amp;bbox, const Slic3r::ExPolygons &amp;expolygons, std::string stroke_outer=&quot;black&quot;, std::string stroke_holes=&quot;blue&quot;, coordf_t stroke_width=0)</div><div class="ttdef"><b>Definition:</b> SVG.cpp:340</div></div>
<div class="ttc" id="class_slic3r_1_1_multi_point_html"><div class="ttname"><a href="class_slic3r_1_1_multi_point.html">Slic3r::MultiPoint</a></div><div class="ttdef"><b>Definition:</b> MultiPoint.hpp:14</div></div>
<div class="ttc" id="namespace_slic3r_html_ac7ccb74e316abd7606034f0b2179b92f"><div class="ttname"><a href="namespace_slic3r.html#ac7ccb74e316abd7606034f0b2179b92f">Slic3r::IntersectionLines</a></div><div class="ttdeci">std::vector&lt; IntersectionLine &gt; IntersectionLines</div><div class="ttdef"><b>Definition:</b> TriangleMesh.hpp:109</div></div>
<div class="ttc" id="class_slic3r_1_1_s_v_g_html_af3ec2eb54bdc7dff2381f15c5771d364"><div class="ttname"><a href="class_slic3r_1_1_s_v_g.html#af3ec2eb54bdc7dff2381f15c5771d364">Slic3r::SVG::arrows</a></div><div class="ttdeci">bool arrows</div><div class="ttdef"><b>Definition:</b> SVG.hpp:16</div></div>
<div class="ttc" id="class_slic3r_1_1_surface_html"><div class="ttname"><a href="class_slic3r_1_1_surface.html">Slic3r::Surface</a></div><div class="ttdef"><b>Definition:</b> Surface.hpp:11</div></div>
<div class="ttc" id="_ex_polygon_8hpp_html"><div class="ttname"><a href="_ex_polygon_8hpp.html">ExPolygon.hpp</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
